-- GENERATED SPELL FOR [Gigantaur] --


function spell0_26836(pUnit, Event) --@Gigantic Blow,n/a--
pUnit:FullCastSpellOnTarget(52139,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26836', 1500, 1)
end

function spell1_26836(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(9080,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26836', 10328, 1)
end

function Sorts_26836(pUnit, Event)
local choix_sorts_26836 = math.random(0, 1)
if choix_sorts_26836 == 0 then
pUnit:RegisterEvent('spell0_26836', 1, 1)
end
if choix_sorts_26836 == 1 then
pUnit:RegisterEvent('spell1_26836', 1, 1)
end
end

function mob26836_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26836', math.random(1500, 3000), 1)
end

function mob26836_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26836_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26836_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26836, 1, 'mob26836_Action')
RegisterUnitEvent(26836, 2, 'mob26836_Leave')
RegisterUnitEvent(26836, 3, 'mob26836_Kill')
RegisterUnitEvent(26836, 4, 'mob26836_Die')
